package com.toymate.modules.iot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.toymate.modules.iot.entity.IotRole;
import org.apache.ibatis.annotations.Mapper;

/**
 * IotRoleMapper
 *
 * @author weirdor (179946422@qq.com)
 * @version v1.0.0
 */
@Mapper
public interface IotRoleMapper extends BaseMapper<IotRole> {

    IotRole getRoleByDevice(String deviceId);
}
